# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvsroot/remerge/remerge2/ebuild/remerge.ebuild,v 1.2 2005/07/17 23:43:15 hortont Exp $

DESCRIPTION="A browser-based Portage frontend"
HOMEPAGE="http://remerge.sourceforge.net/"
SRC_URI="mirror://sourceforge/remerge/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="X kde perl"
RESTRICT="nomirror"

DEPEND=">=dev-lang/perl-5.8.0
	>=sys-apps/portage-2.0.0
	>=app-portage/gentoolkit-0.2.0_pre8"
	
S=${WORKDIR}/remerge

src_unpack() {
	unpack ${P}.tar.bz2
}

src_compile() {
	sed -ie 's/qpkg/equery/' configure
	econf || die "configure failed"
	emake || die "make failed"
}

src_install() {
	dodir /tmp
	make PREFIX=${D} install || die
}
